set(module_tests
  VTKmClip.xml
  VTKmContour.xml
  VTKmExternalFaces.xml
  VTKmGradient.xml
  VTKmGradientUG.xml
  VTKmThreshold.xml
)

if (PARAVIEW_BUILD_QT_GUI AND BUILD_SHARED_LIBS)
  paraview_add_client_tests(
    LOAD_PLUGIN "VTKmFilters"
    BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
    TEST_DATA_TARGET ParaViewData
    TEST_SCRIPTS ${module_tests}
  )
endif ()
